package cn.cqie.attendance.teacher.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @author wqh
 * @date 2021/7/8 14:01
 */
@Data
@Accessors(chain = true)
@ApiModel(value="TeacherAttendanceReq对象", description="考勤请求参数")
public class TeacherAttendanceReq implements Serializable {

    private static final long serialVersionUID = -6076396448222680984L;

    @ApiModelProperty(value = "当前登录老师 teacherId")
    private Integer teacherId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "日期 beginCreateTime")
    private String beginCreateTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "日期 endCreateTime")
    private String endCreateTime;

    @ApiModelProperty(value = "学生班级编号 stuClass")
    private Integer stuClass;

    @ApiModelProperty(value = "学生专业编号 stuMajor")
    private Integer stuMajor;

    @ApiModelProperty(value = "学生年级编号 stuGrade")
    private Integer stuGrade;

    @ApiModelProperty(value = "学生学院编号 collegeId")
    private Integer collegeId;

    @ApiModelProperty(value = "课程id courseId")
    private Integer courseId;

    @ApiModelProperty(value = "学生学号 stuNumber")
    private String stuNumber;

    @ApiModelProperty(value = "学生姓名 stuName")
    private String stuName;

    @ApiModelProperty(value = "打卡状态 status")
    private Integer status;

    @ApiModelProperty(value = "当前页")
    private Integer pageNum;

    @ApiModelProperty(value = "页面大小")
    private Integer pageSize;
}
